package com.shy.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yzpang
 * @desc:
 * @date: 2023/2/7 16:16
 */
public class UserDao {
    private static Map<String, String> map = new HashMap<>();

    static {
        map.put("10001", "yzpang");
        map.put("10002", "lixiaolong");
        map.put("10003", "wangzhixiang");
        map.put("10004", "zhangyishan");
    }

    public String queryUserName(String uId){
        return map.get(uId);
    }
}
